package com.wujie.hello.spring.cloud.alibaba.nacos.feign.consumer.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.wujie.hello.spring.cloud.alibaba.nacos.feign.consumer.service.impl.TestClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wujie
 * @version 1.0.0:
 * @title TestService
 * @Description TODO
 * @dateTime 2020/9/7 9:34
 * @Copyright 2020-2021
 */
@FeignClient(value = "hello-spring-cloud-alibaba-nacos-provider",fallbackFactory = TestClientImpl.class)
public interface TestClient {
    @RequestMapping("/hi")
    String sayHi(@RequestParam("msg")String msg);
}
